package string

import (
	"fmt"
	"strings"
)

func TestStrings() {

	fmt.Println(strings.Contains("a", "b"))

	i := strings.Compare("aa", "ab")
	fmt.Println(i)

	i = strings.Compare("ba", "aa")
	fmt.Println(i)

	fmt.Println(strings.Fields("a aa"))

	fmt.Println(strings.Join(strings.Split("aaa", ""), " "))

	strings.Index("a", "b")

	fmt.Println("dasff"[1:])
}
